Default

Default implementation for ISmartPosInfoService.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun addSimApn(slotId: String, apn: Apn): ApnStatus
Adds an APN to the specified SIM slot.
Link copied to clipboard
open fun asBinder(): IBinder
Link copied to clipboard
open fun deleteSimApn(slotId: String, apn: Apn): ApnStatus
Deletes an APN from the specified SIM slot.
Link copied to clipboard
Retrieves the current battery status.
Link copied to clipboard
open fun getCPUStats(): CPUStats
Retrieves the current CPU statistics.
Link copied to clipboard
Retrieves the current device mode.
Link copied to clipboard
Retrieves the firmware version of the device.
Link copied to clipboard
Retrieves the current memory statistics.
Link copied to clipboard
Retrieves the list of supported modules on the device.
Link copied to clipboard
Retrieves the current network information.
Link copied to clipboard
Retrieves the device serial number.
Link copied to clipboard
open fun getSimData(): List<Sim>
Retrieves SIM data for all available SIM slots.
Link copied to clipboard
Retrieves the list of SIM slot identifiers.
Link copied to clipboard
open fun selectSimApn(slotId: String, apn: Apn): ApnStatus
Selects an APN for the specified SIM slot.
Link copied to clipboard
open fun setNavigationBar(visible: Boolean): Boolean
Sets the visibility of the navigation bar system-wide.
Link copied to clipboard
open fun setStatusBar(expandable: Boolean): Boolean
Enables or disables the expandability of the notification shade system-wide.